#if !defined(__FURNITURE_H__)
#define __FURNITURE_H__
#pragma once

#include "libraries.h"
#include "CObject.h"
#include "Extern.h"

class CFurniture : public CObject
{
public:
	CFurniture(int x, int y, int type)
	{
		Frame = type;
		X = x;
		Y = y;
		HP = 10;
		EXPDefense = 0;
		BlockMap[X][Y] = 1;
	}
	~CFurniture()
	{
		BlockMap[X][Y] = 0;
	}
	bool Move()
	{
		if (HP <= 0) return 0;
		return 1;
	}
	void Draw();
};

#endif